function ChangeBetLimit(Item2,Item3){
	var EventLimit = document.beMemberFrm["ELimits[0]["+Item2+"]"];
	var BLimit = document.beMemberFrm["ELimits[1]["+Item2+"]"];
	if(isNaN(EventLimit.value)){
		alert("Please fill the column of Game Limit with numberals!");
		EventLimit.focus();
	}else{
		if(Item3 == 0){
			document.beMemberFrm["ELimits[1]["+Item2+"]"].value = (EventLimit.value / 2);
		}else{
			if(isNaN(BLimit.value) || BLimit.value.length <= 0 || (BLimit.value*1) > (EventLimit.value/2)){
				document.beMemberFrm["ELimits[1]["+Item2+"]"].value = (EventLimit.value / 2);
			}
		}

		if(document.checkParentLimit){
			var strParentName = document.checkParentLimit["ParentName"].value;
			var strBetName = document.checkParentLimit["BetName["+Item2+"]"].value;
			var EventLimit_P = document.checkParentLimit["s_ELimits[0]["+Item2+"]"].value;
			var BLimit_P = document.checkParentLimit["s_ELimits[1]["+Item2+"]"].value;
			if(Item3 == 0 && (EventLimit_P*1) < (EventLimit.value*1)){
				alert(strBetName+" Game Limit ("+EventLimit.value+") cant not over "+strParentName+" ("+EventLimit_P+") !");
				EventLimit.focus();
				EventLimit.value = EventLimit_P;
				document.beMemberFrm["ELimits[1]["+Item2+"]"].value = (EventLimit.value / 2);
			}else if((BLimit_P*1) < (BLimit.value*1)){
				alert(strBetName+" Ticket Limit ("+BLimit.value+") cant not over "+strParentName+" ("+BLimit_P+") !");
				BLimit.focus();
				BLimit.value = BLimit_P;
			}
		}
	}
}